package cn.lpf.org.mapper;

import cn.lpf.org.domain.Department;
import cn.lpf.query.PageList;

import java.util.List;

public interface DepartmentMapper {

    List<Department> loadAll();

    void save(Department department);

    void update(Department department);

    void remove(Long id);
    // 查询条数
    Long  queryCount (PageList query);
    // 查询当前页数
    List<Department> queryData(Department department);
}
